import React, { Component } from 'react'

export default class App extends Component {
  // 1.使用类的属性定义组件的状态
  state = {
    count: 100
  }
  render() {
    return (
      <div>
        { this.state.count }
      </div>
    )
  }
}
